#ifndef __COUNTDOWN_H
#define __COUNTDOWN_H

#include "stm32f10x.h"
#include "userheader.h"

void viewCountdown(void);
void buttonSwitch(void);
void initCountdown(void);
void buttonSetTime(void);
void buttonEnable(void);
void setButtonFunc(ButtonCallback button0, ButtonCallback button1, ButtonCallback button2);
void setupCountdown(uint32_t time, uint8_t enableFlag, uint8_t endFlage, uint8_t isRing, uint16_t buttonSwState, uint8_t timeUp);
void buttonEnable(void);
void buttonStartPause(void);
#endif
